﻿using System.Windows;
using GalaSoft.MvvmLight.Threading;

namespace MyMeetup.Helpers
{
    public class PrivacyHelper
    {
        public string Title
        {
            get { return "Privacy Policy"; }
        }

        public string Policy
        {
            get
            {
                string policy =
                    "This application uses location services for the sole purpose of searching for meetup groups near you. Your location is in no way saved/cached/persisted on this phone in any way shape or form and is only sent to meetup.com's search service.";
                policy += "\n\nLocation services can be turned off at anytime in the application settings.";

                return policy;
            }
        }

        public void Show()
        {
            DispatcherHelper.Initialize();
            DispatcherHelper.CheckBeginInvokeOnUI(() => MessageBox.Show(Policy, Title, MessageBoxButton.OK));
        }
    }
}
